
import {get, post,del,put} from "@/api/http";

export const dirMessageList = (data) =>
  post("/Message/GetAllToPage", data);


export const dirMessageDelete = (id) =>
  del("/Message/DelById", {id});


export const dirMessageCreate = (data) =>
  post("Message/Post", data);

export const dirMessageUpdate = (data) =>
  put("/Message/Put", data);

export const messageReply = (data) =>
  post("/mg/api/private/message/replyMsg", data);
